<?php
if ($intAuctionItemID){ 
    include (MODULE . "/action/qrySelectAuctionItem");
}
?>

<style type="text/css">
body{
	font-family: Arial,sans-serif;
	color: #000000;
	line-height: 1.166;
	margin: 0px;
	padding: 0px;
	background-color: #ffffff;
	font-size: 11px;
}

p{
	font-size: 12px;
	font-family: Arial,sans-serif;
}

td{
	font-size: 12px;
	font-family: Arial,sans-serif;

}
b{
	color: #993366;

}

li{
	list-style:square;
	font-size: 11px;
	font-family: Arial,sans-serif;
}

strong{
	color: #993366;

}
h1{
	color: #993366;
	font-family: Arial,sans-serif;
	font-size: 18px;

}

h2{
	color: #993366;
	line-height: 17px;
	font-family: Arial,sans-serif;
	font-size: 17px;
}

h3{
	color: #993366;
	font-family: Arial,sans-serif;
	font-size: 14px;
}

a{
	color: #993366;
	text-decoration: none;

}

a:link{
	color: #993366;
	text-decoration: none;

}

a:visited{
	color: #993366;
	text-decoration: none;

}

a:hover{
	color: #000000;
	background-color: #ffffff;
}

.disclaimer p{
	font-size: 11px;
	font-family: Arial,sans-serif;
} 

.MainPic img
{
	background: #fff;
	border-color: #aaa #ccc #ddd #bbb;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	padding: 2px;
	vertical-align: top;

	height :225px; 

}



.hoverbox
{
	cursor: default;
	list-style: none;
}

.hoverbox a
{
	cursor: default;
}

.hoverbox a .preview
{
	display: none;
}

 

.hoverbox a:hover .preview
{
	display: block;
	position: absolute;
	top: -33px;
	left: -45px;
	z-index: 1;
}

.hoverbox img
{
	background: #fff;
	border-color: #aaa #ccc #ddd #bbb;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	padding: 2px;
	vertical-align: top;

	height :100px; 


}

.hoverbox li
{
	background: #eee;
	border-color: #ddd #bbb #aaa #ccc;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	display: inline;
	float: left;
	margin: 3px;
	padding: 5px;
	position: relative;
}

.hoverbox .preview
{
	border-color: #000;
	height: 300px;

}
</style>	  

<script type="text/javascript">
     function toggle(id){
	 	var theDiv = document.getElementById(id);
		  if(theDiv) {	
			    if(theDiv.style.display == 'none'){ 
					theDiv.style.display = 'block';	
			    }else{
					theDiv.style.display = 'none'; 	
				}
		  }
		  
     }	
	 
	 function ToggleTab(id,show){
	  	var theDiv = document.getElementById(id);
	 		if(theDiv) {		
				theDiv.style.display = show;	
		  	}
	 }	   	
	 
	 function ToggleTabReturns(){ 
	 	 ToggleTab("tabReturns","block"); 
		 ToggleTab("tabAbout","none"); 
		 ToggleTab("tabShipping","none"); 
		 ToggleTab("tabPayment","none");
	 
	 }	  
	 
	 function ToggleTabPayment(){ 
	 	 ToggleTab("tabReturns","none"); 
		 ToggleTab("tabAbout","none"); 
		 ToggleTab("tabShipping","none"); 
		 ToggleTab("tabPayment","block");
	 
	 }
	 
	 function ToggleTabAbout(){ 
	 	 ToggleTab("tabReturns","none"); 
		 ToggleTab("tabAbout","block"); 
		 ToggleTab("tabShipping","none"); 
		 ToggleTab("tabPayment","none");
	 
	 } 
	 
	 function ToggleTabShipping(){ 
	 	 ToggleTab("tabReturns","none"); 
		 ToggleTab("tabAbout","none"); 
		 ToggleTab("tabShipping","block"); 
		 ToggleTab("tabPayment","none");
	 
	 }
	 
	 function ToggleOff(){	 
	 	toggle("tabReturns"); 
		toggle("tabAbout"); 
		toggle("tabPayment"); 
	 
	 } 
	 

	 
</script>
<table width='75%' align='center' border='0' bordercolor="#008000" cellpadding="8" bordercolorlight="#008000" bordercolordark="#008000">
	<tr>
		<td colspan='1'>
			<img src="http://www.delboyslockup.co.uk/images/delboyslockup_logo.gif" width="300" height="50" border="0" alt="www.delboyslockup.co.uk logo">
			<div align="right"><a href="#Shipping" onclick="ToggleTabShipping();">Shipping</a> / <a href="#Payment" onclick="ToggleTabPayment();">Payment </a> / <a href="#About" onclick="ToggleTabAbout();">About Us</a> / 
			<?php 
			if($myrow[DisclaimerType] != "Vehicle"){
				echo "<a href=\"#Returns\" onclick=\"ToggleTabReturns();\">Returns</a>";
			}
			?>
			 </div>
			<hr />
		</td>
	</tr>
	<tr valign="top">
		<td valign="top" align='left'>
		<h1><?php echo $myrow[ItemName] ?></h1>
			<div class="MainPic">
				<img src="http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto1"]?>" alt="" />
			</div>
			<ul class="hoverbox">
				<li>
				<a href="#"><img src="http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto1"]?>" alt="" /><img src="http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto1"]?>"  class="preview" /></a>
				</li> 
				<?php if($myrow["UploadedPhoto2"]){ ?>
				<li>
				<a href="#"><img src='http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto2"]?>' alt="" /><img src="http://www.delboyslockup.co.uk//images/auction/<?php echo $myrow["UploadedPhoto2"]?>"  class="preview" /></a>
				</li>	  

				<?php }?>  
				
				<?php if($myrow["UploadedPhoto3"]){ ?>
				<li>
				<a href="#"><img src='http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto3"]?>' alt="" /><img src="http://www.delboyslockup.co.uk//images/auction/<?php echo $myrow["UploadedPhoto3"]?>"  class="preview" /></a>
				</li>	  

				<?php }?>  
				
				<?php if($myrow["UploadedPhoto4"]){ ?>
				<li>
				<a href="#"><img src='http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto4"]?>' alt="" /><img src="http://www.delboyslockup.co.uk//images/auction/<?php echo $myrow["UploadedPhoto4"]?>"  class="preview" /></a>
				</li>	  

				<?php }?>  
				
				<?php if($myrow["UploadedPhoto5"]){ ?>
				<li>
				<a href="#"><img src='http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto5"]?>' alt="" /><img src="http://www.delboyslockup.co.uk//images/auction/<?php echo $myrow["UploadedPhoto5"]?>"  class="preview" /></a>
				</li>	  

				<?php }?>	  
				
				<?php if($myrow["UploadedPhoto6"]){ ?>
				<li>
				<a href="#"><img src='http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto6"]?>' alt="" /><img src="http://www.delboyslockup.co.uk//images/auction/<?php echo $myrow["UploadedPhoto6"]?>"  class="preview" /></a>
				</li>	  

				<?php }?>  
				
				<?php if($myrow["UploadedPhoto7"]){ ?>
				<li>
				<a href="#"><img src='http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto7"]?>' alt="" /><img src="http://www.delboyslockup.co.uk//images/auction/<?php echo $myrow["UploadedPhoto7"]?>"  class="preview" /></a>
				</li>	  

				<?php }?>  
				
				<?php if($myrow["UploadedPhoto8"]){ ?>
				<li>
				<a href="#"><img src='http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto8"]?>' alt="" /><img src="http://www.delboyslockup.co.uk//images/auction/<?php echo $myrow["UploadedPhoto8"]?>"  class="preview" /></a>
				</li>	  

				<?php }?>  
				
				<?php if($myrow["UploadedPhoto9"]){ ?>
				<li>
				<a href="#"><img src='http://www.delboyslockup.co.uk/images/auction/<?php echo $myrow["UploadedPhoto9"]?>' alt="" /><img src="http://www.delboyslockup.co.uk//images/auction/<?php echo $myrow["UploadedPhoto9"]?>"  class="preview" /></a>
				</li>	  

				<?php }?>
			</ul>
		</td>
	</tr>     
	<tr>
		<td colspan='1'> 
			<hr />
			<p>

	<?php 
			echo nl2br($myrow[Description])."<br />";
			if($myrow[Height])	{ echo "<br/><strong>H : </strong>".$myrow[Height]."cm&nbsp;"; }
			if($myrow[Width])	{ echo "<strong>W : </strong>".$myrow[Width]."cm&nbsp;"; }
			if($myrow[Length])	{ echo "<strong>L : </strong>".$myrow[Length]."cm&nbsp;"; }
			if($myrow[Weight]!= 0)	{ echo "<br/><br/><strong>Weight : </strong>".$myrow[Weight]."kg&nbsp;(without packaging)."; }
		?>	  
		</p>
			<p class='disclaimer'>It's important that you are happy with your purchase. So if you have any questions prior
				to leaving feed back please contact us quoting reference DBL<?php echo $myrow[ID]?></p>

		</td>
	</tr>
	
	<tr>
		<td colspan='1' class='disclaimer'> 
			<a href="#Shipping" onclick="ToggleTabShipping();">Shipping</a> / <a href="#Payment" onclick="ToggleTabPayment();">Payment </a> / <a href="#About" onclick="ToggleTabAbout();">About Us</a> / 
			<?php 
			if($myrow[DisclaimerType] != "Vehicle"){
				echo "<a href=\"#Returns\" onclick=\"ToggleTabReturns();\">Returns</a>";
			}
			?>
			<hr />
			<div id='tabShipping'>
			<a name="Shipping" id="Shipping"></a><h2>Shipping</h2>
			<?php 
			include (MODULE . "/action/qrySelectCarriage_Class");  
		?>	
				
			<?php  
			
			if($myrow[QuotedCarriage] == 0){ 
				$intTotalCarriage = $objCarriage->myrow[UKPrice] + $objCarriage->myrow[EuropePrice] + $objCarriage->myrow[USAPrice]+$objCarriage->myrow[AustraliaPrice];
				  if($intTotalCarriage > 0){
					?>	   
					<p>We ship worldwide
					</p><p>
					Postage and Packing for:</p>
					<p>	
						<img src="http://www.delboyslockup.co.uk/images/flag_UK.jpg" height="20" > UK <?php echo CURRENCY.$objCarriage->myrow[UKPrice]?></p><p>
					</p><p>
						<img src="http://www.delboyslockup.co.uk/images/flag_EU.jpg" height="20" >  European Union <?php if($objCarriage->myrow[EuropePrice] != 0) {echo CURRENCY.$objCarriage->myrow[EuropePrice];}else{echo " : Postage Not Available";}?></p><p>
					</p><p>
						<img src="http://www.delboyslockup.co.uk/images/flag_USA.jpg" height="20" > <img src="http://www.delboyslockup.co.uk/images/flag_Canada.jpg" height="20" >  North America <?php if($objCarriage->myrow[USAPrice] != 0){echo CURRENCY.$objCarriage->myrow[USAPrice]; }else{ echo " : Postage Not Available";}?> </p><p>
					</p><p>
						<img src="http://www.delboyslockup.co.uk/images/flag_Japan.jpg" height="20" > <img src="http://www.delboyslockup.co.uk/images/flag_Australia.jpg" height="20" >  Rest of world <?php if($objCarriage->myrow[AustraliaPrice] != 0){echo CURRENCY.$objCarriage->myrow[AustraliaPrice];} else { echo " : Postage Not Available"; }?>
					</p>
					<?php		
				}else{

					if($myrow[DisclaimerType] != "Vehicle"){
					echo "
					<p>
						This item is either too big or heavy for our normal courier. <strong>We have 
						a man in a van who can deliver</strong> through out the UK  mainland for a &pound;1.00 per mile 
						(minimum charge £20.00).
						To work out the distance from us (poscode CO7 8LG) 
						<a href='http://maps.google.co.uk/maps?f=q&hl=en&geocode=&q=co7+8lg&ie=UTF8&ll=51.852083,1.065803&spn=0.011293,0.029182&z=15&iwloc=addr&om=1' target='_blank'>click here</a>
						and click 'Get Directions'.
						<br/>
						<br/>If you are collecting please see collection times and terms below.
					</p>";
					}else{
						echo "This item is collection only.<br/><br/>".$myrow[DisclaimerName];
					}
					

				}
			}else{ 
				?>
				Postage and Packing for:</p>
					<p>	
						<img src="http://www.delboyslockup.co.uk/images/flag_UK.jpg" height="20" > UK £<?php echo $myrow[QuotedCarriage]?>
						<br/>Europe and Worldwide postage not available for this item.</p>
			<?php
			}
			?>
			
			<a name="Collection" id="Collection"></a><p><strong>Collection from our warehouse</strong> on Plough Road Business Centre, Gt Bentley, Colchester CO7 8LG. Hours: Monday - Friday: 09:00 - 17:00. Please let us know the date you want to pick up the item, we will need 24 hours notice. There is a £5.00 collection fee for  pick-up but you can pick-up more than one item for that price. 
			If you don't pick up your item within 7 days we reserve the right to charge
			for storage. The charge will be &pound;3.00 per day.
			<br/><br/>Please give us 24 hours notice if you have to change a pick-up date, otherwise we have to charge you the collection fee for the aborted collection.
			<br/><br/>If an item is returned to DelboysLockup due to the buyer not being present to accept delivery, the buyer will then have to
			pay again for re-delivery. DelboysLockup will not be responsible for this charge. Repeat delivery charges will be charged at the original postage and packaging charge rate.
			<br/><br/>
			We are not responsible for any customs fees or taxes that you may incur</p>
  			</div>
			<?php
			if($myrow[DisclaimerType] != "Vehicle"){
			echo "
			<div id='tabReturns'>";
		  		echo $myrow[DisclaimerName];
				}
			echo "
			</div>
			";
			?>
			<div ID='tabAbout'>
			<a name="About" id="About"></a><h2>About Us</h2>
			
			<p>Welcome to DelboysLockup-Colchester we are an eBay consignment store. We offer the easiest way for you to turn your
			unwanted items into cash. If you have any qestions please email us at customerservices@delboyslockup.co.uk or look at our website
			 www.delboyslockup.co.uk.
			 <br/><br/>We welcome items both from private individuals and trade.
			 <br/><a href="http://tradingassistant.ebay.co.uk/ws/eBayISAPI.dll?TradingAssistant&page=profile&zipCode=co7+8nd&Country=UK&profileId=157107654" target="_blank"><img alt="Click me I go to the Trading Assistant Directory" src="http://pics.ebaystatic.com/aw/pics/trading_assistant2_88x33.gif" border="0" height="33" width="88"></a></p>
			</div>
			<div id='tabPayment'>			
			<a name="Payment" id="Payment"></a><h2>Payment</h2>
			
			<p>We accept the following method of payment:</p>
			
			<p> * <strong>Paypal</strong> </p>	  
			
			<p> * <strong>Postal Order</strong>  made payable to Delboys Lockup Ltd</p>  
			
			<p>We have stopped taking personal cheques as we are several miles from the nearest bank and from date of receipt of the cheque to clearance has been unacceptably long for some customers.</p>
			<!-- <p> * <strong>Pound Sterling Cheque</strong>  made payable to Delboys Lockup Ltd (Please allow 7 days for the cheque to clear) </p>
			
			<p>Payment must be received within seven (7) days of the close of auction. We reserve the option to revoke the auction and file a Non-Paying Bidder alert if the payment is not received within seven (7) days. please contact us for delivery requirements.</p> -->
			<p><strong>Non-Payment</strong><br />
			If payment isn't received with in 7 days you will be reported to eBay who in turn will issue a non payment strike.</p>
			
			</div>
		</td>

	</tr>
	
</table>			
<script type="text/javascript" >
  ToggleOff();
</script>